// -----------------------------------------------------------------------------------
// Locale Chinese (default,) ISO ISO639-1 language code "en"
#pragma once

// Fonts, see https://github.com/olikraus/u8g2/wiki/fntlistall for the complete list
#define LF_CATALOGS u8g2_font_wqy12_t_gb2312       // 原9像素 → 12像素（汉字最小可读尺寸）
#define LF_GREEK u8g2_font_unifont_t_greek    // 原10像素 → 包含希腊字符的中文字体
#define LF_STANDARD u8g2_font_wqy12_t_gb2312      // 标准11像素 → 12像素
#define LF_LARGE u8g2_font_wqy12_t_gb2312         // 原12像素 → 16像素（等比放大）

// General
#define L_OK "确定"
#define L_ON "开启"
#define L_OFF "关闭"
#define L_YES "是"
#define L_NO "否"
#define L_NOW "现在"
#define L_SETV "设置"
#define L_ALL "全部"
#define L_SET_STATE "配置"
#define L_VALUE "值"
#define L_WITHIN "不超过"
#define L_DISABLE "禁用"
#define L_CANCELED "已取消"
#define L_FAILED "失败"
#define L_DEGREE "度"
#define L_ARCSEC "角秒"
#define L_MICRON_PER_C "um/C"
#define L_DAYS "天"

// common abbreviations
#define L_TELESCOPE "望远镜" // telescope
#define L_SEC_ABV "秒"     // seconds
#define L_MIN_ABV "分"     // minutes
#define L_HRS_ABV "时"     // hours
#define L_OFFSET_ABV "偏移"  // offset
#define L_TZ_ABV "时区"     // time-zone
#define L_RA "赤经"           // Right Ascension
#define L_DE "赤纬"           // Declination
#define L_DEC "赤纬"
#define L_AZ "方位角"           // Azimuth
#define L_ALT "高度角"         // Altitude

// --------------------- menu, alignment -------------------

#define L_ALGN_RESUME "恢复校准"
#define L_ALGN_SHOW_CORR "显示校正"
#define L_ALGN_CLEAR_CORR "清除校正"
#define L_ALGN_RESET_HOME "重置原点"
#define L_ALIGNMENT "校准"
#define L_ALGN_STAR_ALIGN "恒星校准"
#define L_ALGN_SHOW_MODEL "显示模型"
#define L_ALGN_CLEAR_MODEL "清除模型"
#define L_ALGN_RESET_HOME "重置原点"

#define L_ALGN_RESUME0 "重置"
#define L_ALGN_RESUME1 "移动到原点"
#define L_ALGN_RESUME2 "日期/时间"
#define L_ALGN_RESUME3 "未设置"
#define L_ALGN_RESUME4 "导星速率"
#define L_ALGN_RESUME5 "48倍设置"

#define L_ALGN_REFINE_MSG1 "设置并进行3颗星以上"
#define L_ALGN_REFINE_MSG2 "的望远镜校准"
#define L_ALGN_REFINE_MSG3 "移动到北极星/南天极附近的"
#define L_ALGN_REFINE_MSG4 "明亮恒星"
#define L_ALGN_REFINE_MSG5 "赤纬在南纬或北纬"
#define L_ALGN_REFINE_MSG6 "50到80度范围内"
#define L_ALGN_REFINE_MSG7 "在下方回答“是”"
#define L_ALGN_REFINE_MSG8 "使用极轴校准"
#define L_ALGN_REFINE_MSG9 "调整控制装置，使恒星再次居中"
#define L_ALGN_REFINE_MSG10 "使恒星再次居中"
#define L_ALGN_REFINE_MSG11 "可选择地再次校准"
#define L_ALGN_REFINE_MSG12 "支架"
#define L_ALGN_REFINE_MSG13 "是否完善极轴校准"
#define L_ALGN_REFINE_MSG14 "使恒星居中"
#define L_ALGN_REFINE_MSG15 "使用极轴校准控制"

// ----------------------- menu, main ----------------------

// 功能键菜单
#define L_FKEY_GUIDE_RATE "导星速率"
#define L_FKEY_PULSE_GUIDE_RATE "脉冲导星速率"
#define L_FKEY_UTILITY_LIGHT "辅助灯"
#define L_FKEY_RETICLE "十字丝"
#define L_FKEY_FOCUSER "调焦器"
#define L_FKEY_ROTATOR "旋转器"
#define L_FKEY_FEATURE_KEYS "功能键"

// 主菜单根目录
#define L_MM_GOTO "前往"
#define L_MM_SYNC "同步"
#define L_MM_ALIGN "校准"
#define L_MM_PARKING "停放"
#define L_MM_TRACKING "跟踪"
#define L_MM_PEC "周期误差校正"
#define L_MM_SETTINGS "设置"
#define L_MM_MAIN_MENU "主菜单"
	  
// 停放菜单
#define L_PARK "停放"
#define L_SETPARK "设置停放"
#define L_UNPARK "取消停放"
#define L_PARKING "停放中"
#define L_UNPARKING "取消停放中"

// 跟踪菜单
#define L_TRK_START "开始"
#define L_TRK_STOP "停止"
#define L_TRK_SIDEREAL "恒星跟踪"
#define L_TRK_SOLAR "太阳跟踪"
#define L_TRK_LUNAR "月球跟踪"
#define L_TRK_RESET "速率重置"
#define L_TRK_FASTER "速率 +0.02Hz"
#define L_TRK_SLOWER "速率 -0.02Hz"
#define L_TRACKING "跟踪"
#define L_TRK_CF "全补偿"
#define L_TRK_CR "折射补偿"
#define L_TRK_CO "关闭补偿"
#define L_TRK_CS "单轴补偿"
#define L_TRK_CD "双轴补偿"

// 周期误差校正菜单
#define L_PEC_PLAY "播放"
#define L_PEC_STOP "停止"
#define L_PEC_CLEAR "清除"
#define L_PEC_RECORD "记录"
#define L_PEC_WRITENV "写入非易失存储器"
#define L_PEC "周期误差校正"
#define L_PEC_PLAYING "播放中"
#define L_PEC_STOPPED "已停止"
#define L_PEC_RECORDING "记录中"

// ---------------------- menu, mount ----------------------

// 根菜单
#define L_MOUNT_SPEED "定位速度"
#define L_MOUNT_BL "回程间隙"
#define L_MOUNT_LIMITS "限制"
#define L_MOUNT_PIER "过镜架侧"
#define L_MOUNT_CONFIG "配置"

#define L_MOUNT_FASTEST "最快"
#define L_MOUNT_FASTER "更快"
#define L_MOUNT_DEFAULT_SPEED "默认速度"
#define L_MOUNT_SLOWER "更慢"
#define L_MOUNT_SLOWEST "最慢"
#define L_MOUNT_SPEED "定位速度"

#define L_MOUNT_BL "回程间隙"
#define L_MOUNT_LIMIT_H "地平线"
#define L_MOUNT_LIMIT_O "头顶"
#define L_MOUNT_LIMIT_ME "子午线东"
#define L_MOUNT_LIMIT_MW "子午线西"

#define L_MOUNT_LIMITS "限制"
#define L_MOUNT_LIMIT_HORIZON "地平线限制"
#define L_MOUNT_LIMIT_OVERHEAD "头顶限制"
#define L_MOUNT_LIMIT_MERIDIAN_EAST "子午线东限制"
#define L_MOUNT_LIMIT_MERIDIAN_WEST "子午线西限制"
#define L_MOUNT_PPS "首选过镜架侧"
#define L_PPS_BEST "最佳"
#define L_PPS_EAST "东"
#define L_PPS_WEST "西"

// -------------------- menu, settings ---------------------

// 根菜单
#define L_SET_DATE_TIME "日期/时间"
#define L_SET_SITE "观测地点"
#define L_SET_FOCUSER "调焦器"
#define L_SET_FOCUSER1 "调焦器1"
#define L_SET_FOCUSER2 "调焦器2"
#define L_SET_ROTATOR "旋转器"
#define L_SET_DISPLAY "显示屏"
#define L_SET_BUZ "蜂鸣器"
#define L_SET_MERIDIAN_FLIP "子午线翻转"
#define L_SET_CONFIG "配置"
#define L_SET_VERSION "固件版本"
#define L_SETTINGS "设置"

// 日期/时间
#define L_SET_LOCAL_DATE "本地日期"
#define L_SET_LOCAL_PM "本地时间下午"
#define L_SET_LOCAL_DST "本地时间夏令时"

// 显示屏
#define L_SET_DISP_OFF "关闭"
#define L_SET_DISP_CONT "对比度"
#define L_SET_DISP_DIM_TO "调暗超时"
#define L_SET_DISP_BLANK_TO "空白超时"
#define L_DISPLAY "显示屏"
#define L_SET_DISP_MSG1 "按任意键"
#define L_SET_DISP_MSG2 "以打开"
#define L_SET_DISP_MIN "最小"
#define L_SET_DISP_LOW "低"
#define L_SET_DISP_HIGH "高"
#define L_SET_DISP_MAX "最大"
#define L_SET_DISP_CONTRAST "设置对比度"
#define L_SET_BUZZER "蜂鸣器开启？"

// 子午线翻转
#define L_SET_MF_AUTO "自动"
#define L_SET_MF_PAUSE "在原点暂停"
#define L_SET_MF "子午线翻转"
#define L_SET_MF_AF "自动翻转？"
#define L_SET_MF_PF "暂停翻转？"

// 观测地点
#define L_SET_SITE_SELECT "选择观测地点"
#define L_SET_SITE_LAT "纬度"
#define L_SET_SITE_LONG "经度"
#define L_SET_SITE_UTC "UTC时差"
#define L_SET_SITE_TITLE "观测地点菜单"
#define L_SET_SITE_NUM "观测地点编号"
#define L_SET_SITE_NUM_TITLE "观测地点编号菜单"

// 旋转器
#define L_ROT_RET_HOME "返回原点"
#define L_ROT_AT_HOME "在原点"
#define L_ROT_DEROT "去旋转"
#define L_ROT_PA "移动到极轴对齐"
#define L_ROT_REV "反转"
#define L_ROTATOR "旋转器"
#define L_ROT_AT_HOME_ZERO "在原点/零位？"
#define L_ROT_REVERSE "反转"

// 调焦器
#define L_FOC_RET_HOME "返回原点"
#define L_FOC_AT_HOME  "在原点"
#define L_FOCUSER "调焦器"
#define L_AUX_FEATURE "辅助功能"
#define L_FOC_AT_HALF "在中点？"
#define L_FOC_TC "温度补偿？"
#define L_FOC_TC_COEF "温度补偿系数"
#define L_FOC_TC_DEADBAND "温度补偿死区"
#define L_FOC_TC_DB_UNITS "微米"
#define L_FOC_BACKLASH "回程间隙"
#define L_FOC_BL_UNITS "微米"

// 防露加热器
#define L_AF_DEW_HEATER_ZERO "防露点零，最大功率"
#define L_AF_DEW_HEATER_SPAN "防露点跨度，0%功率"

// 间隔计时器
#define L_AF_IV_COUNT "曝光次数"
#define L_AF_IV_EXPOS "曝光时长"
#define L_AF_IV_DELAY "曝光延迟"

// -------------------- menu, sync/goto --------------------

// 根菜单
#define L_SG_SOLSYS "太阳系"
#define L_SG_HERE "当前位置"
#define L_SG_USER "用户"
#define L_SG_FILTERS "筛选 \xa5"
#define L_SG_COORDS "坐标"
#define L_SG_HOME "回零位"
#define L_SG_SYNC "同步"
#define L_SG_GOTO "定位"
#define L_SG_SPIRAL "螺旋搜索"
#define L_SG_LAST "上一个"
#define L_SG_GOTO_LAST "定位到最后一个"
#define L_SG_TARGET "目标"

// 返回原点或在原点重置
#define L_SG_HOME1 "返回原点将"
#define L_SG_HOME2 "重置校准模型"
#define L_SG_HOME3 "前往原点"
#define L_SG_HOME4 "重置在"
#define L_SG_HOME5 "前往"
#define L_SG_HOME6 "原点方向"
#define L_SG_NO_OBJECT "无目标"
#define L_SG_NO_INIT "未初始化"

// 太阳系
#define L_SG_SUN "太阳"
#define L_SG_MER "水星"
#define L_SG_VEN "金星"
#define L_SG_MAR "火星"
#define L_SG_JUP "木星"
#define L_SG_SAT "土星"
#define L_SG_URA "天王星"
#define L_SG_NEP "海王星"
#define L_SG_MOON "月亮"
#define L_SG_SSOL "同步太阳系"
#define L_SG_GSOL "定位到太阳系"
#define L_SG_SOL_WARN1 "指向太阳"
#define L_SG_SOL_WARN2 "可能会很危险"
#define L_SG_GSUN "定位到太阳"

// 用户目录
#define L_SG_USER_MSG1 "选择用户目录"
#define L_SG_USER_MSG2 "没有目录"
#define L_SG_SYNC_USER "用户同步"
#define L_SG_GOTO_USER "用户定位"
#define L_SG_SYNC_USER_ITEM "同步用户项目"
#define L_SG_GOTO_USER_ITEM "定位到用户项目"

// --------------------- menu, filters ---------------------

// 根菜单
#define L_SG_FILT_RESET "重置筛选"
#define L_SG_FILT_HOR "地平线以上"
#define L_SG_FILT_CON "星座"
#define L_SG_FILT_TYP "类型"
#define L_SG_FILT_MAG "星等"
#define L_SG_FILT_NEAR "附近"
#define L_SG_FILT_VAR_MAX "变星最大周期"
#define L_SG_FILT_DBL_MIN "双星最小间距"
#define L_SG_FILT_DBL_MAX "双星最大间距"
#define L_SG_FILT_ALLOW "允许的筛选"
#define L_SG_FILT_MSG1 "筛选"
#define L_SG_FILT_MSG2 "重置"
#define L_SG_FILT_MSG3 "仅地平线以上"
#define L_SG_FILTER "筛选"

// 按星座过滤
#define L_SG_FILT_BY_CON "按星座过滤"

// 按类型过滤
#define L_SG_FILT_BY_TYPE "按类型过滤"

// 按星等过滤
#define L_SG_FILT_BY_MAG "按星等过滤"

// 按附近过滤
#define L_SG_FILT_BY_NEAR "按附近过滤"

// 按双星最小间距过滤
#define L_SG_FILT_BY_SEP_MIN "按双星间距过滤"
#define L_SG_SEP_MIN_MSG1 "最小间距必须"
#define L_SG_SEP_MIN_MSG2 "小于最大间距"

// 按双星最大间距过滤
#define L_SG_FILT_BY_SEP_MAX "按双星间距过滤"
#define L_SG_SEP_MAX_MSG1 "最大间距必须"
#define L_SG_SEP_MAX_MSG2 "大于最小间距"

// 按变星最大周期过滤
#define L_SG_FILT_BY_PER_MAX "按变星周期过滤"

// ------------------- SmartController.h -----------------------
#define L_WIFI_SELECT "OnStep连接："
#define L_WIFI_SELECT_EDIT "编辑连接："
#define L_WIFI_CONNECTION "正在启动WiFi："
#define L_LOOKING "正在寻找"
#define L_WARNING "警告"
#define L_CONNECTION "连接"
#define L_CONNECTING "正在连接"
#define L_WARNING "警告"
#define L_COORDINATES "坐标"
#define L_OBSERVED_PLACE "观测地点"
#define L_WARNING "警告"
#define L_FAILED "失败"
#define L_REBOOT "重启"
#define L_DEVICE "设备"
#define L_STAR "恒星"
#define L_ALIGN_MSG1 "选择一颗恒星"
#define L_ALIGN_MSG2 "从以下列表中"
#define L_ABORTED "已中止"
#define L_LOST_MSG "丢失"
#define L_SLEW_MSG1 "移动到目标"
#define L_SLEW_MSG2 "已取消"
#define L_FKEY_GUIDE_DN "前往速度减慢"
#define L_FKEY_GUIDE_UP "前往速度加快"
#define L_FKEY_PGUIDE_DN "脉冲导星速度减慢"
#define L_FKEY_PGUIDE_UP "脉冲导星速度加快"
#define L_FKEY_LAMP_DN "辅助灯调暗"
#define L_FKEY_LAMP_UP "辅助灯调亮"
#define L_FKEY_RETI_DN "十字丝调暗"
#define L_FKEY_RETI_UP "十字丝调亮"
#define L_FKEY_FOC_DN "调焦外"
#define L_FKEY_FOC_UP "调焦内"
#define L_FKEY_FOCF_DN "快速调焦外"
#define L_FKEY_FOCF_UP "快速调焦内"
#define L_FKEY_ROT_DN "逆时针旋转"
#define L_FKEY_ROT_UP "顺时针旋转"
#define L_FKEY_ROTF_DN "快速逆时针旋转"
#define L_FKEY_ROTF_UP "快速顺时针旋转"
#define L_SUCCESS "成功"
#define L_ADD_STAR "添加恒星"
#define L_SUCCESS "成功"
#define L_FAILED "失败"
#define L_SLEWING_TO_STAR "正在移动到恒星"
#define L_RECENTER_STAR "重新居中恒星"
#define L_SELECT_STAR "选择恒星"
#define L_CMD_NOTOK_1 "LX200命令"
#define L_CMD_NOTOK_2 "失败"
#define L_CMD_SETVF_1 "设置值"
#define L_CMD_SETVF_2 "失败"
#define L_CMD_GETVF_1 "获取值"
#define L_CMD_GETVF_2 "失败"
#define L_CMD_SETTG_1 "设置目标"
#define L_CMD_SETTG_2 "失败"
#define L_CMD_OBJSE_1 "未选择目标"
#define L_CMD_OBJSE_2 "已选择！"
#define L_CMD_TGHOR_1 "目标在"
#define L_CMD_TGHOR_2 "地平线以下"
#define L_CMD_TGOVH_1 "目标在"
#define L_CMD_TGOVH_2 "限制以上"
#define L_CMD_STNBF_1 "望远镜"
#define L_CMD_STNBF_2 "处于待机状态"
#define L_CMD_PARKF_1 "望远镜"
#define L_CMD_PARKF_2 "已停放"
#define L_CMD_GOGOF_1 "定位操作已经"
#define L_CMD_GOGOF_2 "正在进行"
#define L_CMD_LIMTF_1 "目标"
#define L_CMD_LIMTF_2 "超出限制"
#define L_CMD_HARDF_1 "望远镜"
#define L_CMD_HARDF_2 "硬件故障"
#define L_CMD_GOMOF_1 "望远镜"
#define L_CMD_GOMOF_2 "正在移动"
#define L_CMD_UNSPF_1 "定位未知"
#define L_CMD_UNSPF_2 "错误"
#define L_CMD_ERROR   "错误"
#define L_CMD_ISAOK_1 "LX200命令"
#define L_CMD_ISAOK_2 "完成"
#define L_CMD_SETOK_1 "值"
#define L_CMD_SETOK_2 "已设置"
#define L_CMD_GETOK_1 "值"
#define L_CMD_GETOK_2 "已获取"
#define L_CMD_SNCOK_1 "望远镜"
#define L_CMD_SNCOK_2 "已同步"
#define L_CMD_GOTOK_1 "移动到"
#define L_CMD_GOTOK_2 "目标"

// ----------------------- u8g2_ext_catalog.cpp -------------------------

#define L_CAT_PER_UNK "周期未知"
#define L_CAT_PER_IRR "周期不规则"
#define L_CAT_PER "周期"
#define L_CAT_UNK "未知"
#define L_CAT_OC "疏散星团"
#define L_CAT_GC "球状星团"
#define L_CAT_PN "行星状星云"
#define L_CAT_SG "螺旋星系"
#define L_CAT_EG "椭圆星系"
#define L_CAT_IG "不规则星系"
#define L_CAT_KNT "星云结"
#define L_CAT_SNR "超新星遗迹"
#define L_CAT_GAL "星系"
#define L_CAT_CN "星团+星云"
#define L_CAT_STR "恒星"
#define L_CAT_PLA "行星"
#define L_CAT_CMT "彗星"
#define L_CAT_AST "小行星"

// ----------------------- u8g2_ext_input.cpp -------------------------

#define L_RIGHT_ASC "赤经"
#define L_DECLINATION "赤纬"
#define L_LOCAL_TIME "本地时间"
#define L_LATITUDE "纬度"
#define L_LONGITUDE "经度"